//
//  Mother.m
//  oc-09课堂代码练习
//
//  Created by 李世友 on 16/4/27.
//  Copyright © 2016年 李世友. All rights reserved.
//

#import "Mother.h"

@implementation Mother
-(void)payMoney
{
    if (self.delegate && [self.delegate respondsToSelector:@selector(wash)])
    {
        [self.delegate wash];
        [self.delegate cleaning];
        [self.delegate takeCareKid];
        [self.delegate cooking];
    }
}
@end
